Skip to content

CLITest for testing CLI commands in Processing IDE #1161

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 11, 2025

Conversation

Stefterv
Copy link
Collaborator

@Stefterv Stefterv commented Jun 28, 2025

Easily run Processing command line arguments from IntelliJ IDEA

Screenshot 2025-06-28 at 10 38 29

Introduces a new Kotlin test class, CLITest, to facilitate running and testing CLI commands of the Processing IDE directly from the IDE. This allows for easier and faster development and debugging of CLI features without manual command line invocation.
@Stefterv
Copy link
Collaborator Author

@toniab Is this something that would have helped your work on #1162 ?

@Stefterv Stefterv requested a review from toniab June 28, 2025 09:55
Copy link
Contributor

@toniab toniab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi! This works and is easier than having to edit run config.
Is the idea that contributors could replace the arguments there to whatever I want for my testing purposes (and they would make sure not to push their changes to that line?)

Should we mention this testing functionality in the build or contribute .md's? Do people go to app > test > for other things already?

toniab added a commit to toniab/processing4 that referenced this pull request Jul 4, 2025
CLITest explanation to go along with PR processing#1161
@toniab toniab mentioned this pull request Jul 4, 2025
@Stefterv Stefterv added this to the 4.4.5 milestone Jul 9, 2025
@SableRaf SableRaf merged commit 6e4f078 into processing:main Jul 11, 2025
12 checks passed
@Stefterv Stefterv deleted the cli-tests branch July 23, 2025 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants